package com.zuthub.system.domain;

import com.zuthub.common.annotation.Excel;
import com.zuthub.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 专家管理对象 sys_professor
 * 
 * @author zuthub
 * @date 2021-04-02
 */
public class SysProfessor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专家id */
    private Long professorId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    public void setProfessorId(Long professorId) 
    {
        this.professorId = professorId;
    }

    public Long getProfessorId() 
    {
        return professorId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("professorId", getProfessorId())
            .append("name", getName())
            .append("gender", getGender())
            .append("description", getDescription())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
